<!-- 项目风险 -->
<template>
  <div class="content">
    <div style="display: flex; justify-content: space-between; margin-top: 20px;">
      <risk-distribution-box :tabNum="tabNum" class="risk-distribution-box" />
      <risk-type-box :tabNum="tabNum" class="risk-type-box" />
    </div>
    <div style="display: flex; justify-content: space-between; margin-top: 20px;">
      <risk-bubble-chart :tabNum="tabNum" class="risk-bubble-chart" />
    </div>
  </div>
</template>

<script>
import RiskBubbleChart from './riskBubbleChart.vue'
import RiskDistributionBox from './riskDistributionBox.vue'
import RiskTypeBox from './riskTypeBox.vue'

export default {
  components: {RiskDistributionBox, RiskTypeBox, RiskBubbleChart},
  props: {
    tabNum: {
      type: String,
      default: '0'
    }
  }
}
</script>

<style lang="scss" scoped>
.content {
  .risk-distribution-box,.risk-type-box {
    width: 49.2%;
    height: 460px;
  }
  .risk-bubble-chart {
    margin-top: 10px;
    margin-bottom: 30px;
    width: 100%;
    height: 1000px;
  }
}
</style>